package cn.rwklyd.ecommerce.mapper;

import cn.rwklyd.ecommerce.pojo.UserLog;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserLogMapper {
//    插入用户删除日志
    @Insert("insert into user_log(user_id,target_id,action_type,success,action_description) values(#{userId},#{targetId},#{actionType},#{success},#{actionDescription})")
    Integer insert(UserLog userLog);
}
